<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
	<ul class="nav nav-tabs">
        <li><a href="{:url('Store/index')}">店铺列表</a></li>
		<li class="active"><a href="{:url('Store/add')}">新增店铺</a></li>
    </ul>
    <form class="form-horizontal js-ajax-form margin-top-20" role="form" action="{:url('Store/addPost')}" method="post">
        <fieldset>
            <div class="tabbable">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">                         
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>店铺名称</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-name" name="store_name" value="">
                            </div>
                        </div>                       
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>店铺负责人</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-name" name="principal" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>身份证号</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-name" name="idnumber" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>手机</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-name" name="mobile" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>座机</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-name" name="phone" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>店铺地址</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-name" name="address" value="">
                            </div>
                        </div>                        
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>督导</label>
                            <div class="col-md-6 col-sm-10">
                                <!-- <input type="text" class="form-control" id="input-name" name="steer" value=""> -->                                
                                <select name="steer">
                                    <foreach name="dudao_list" item="v">
                                    <option value="{$v.user_id}">{:get_operator_data($v['user_id'],'user_login')}</option>
                                    </foreach>
                                </select>
                            </div>
                        </div> 
                        <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>店铺类别</label>
                            <div class="col-md-6 col-sm-10">
                            	<select name="cat_store">
                                    <foreach name="cat_list" item="vo">
                                    <option value="{$vo.id}">{$vo.cat_name}</option>
                                    </foreach>
                                </select>
                            </div>
                        </div>                      
                        <!-- <div class="form-group">
                            <label  class="col-sm-2 control-label"><span class="form-required">*</span>选择店铺商品</label>
                            <div class="col-md-6 col-sm-10"> 
                                <foreach name="goods_list" item="vo" >          
                                <input type="checkbox" name="cat"   value="{$vo.g_id}">{$vo.g_goodsname}
                                </foreach>
                            </div>
                        </div> -->
                        <!-- <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0"   onclick="fun()">{:lang('SAVE')}</button>
                            </div>
                        </div> -->
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1">{:lang('SAVE')}</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>